package User;
import Book.BookList;
import operation.Ioperation;
public abstract class User {
    private String name;
    public abstract int menu();
    protected Ioperation[]ioperations;

    public User(String name) {
        this.name=name;
    }
    public void doIoperations(BookList bookList,int pos){
        this.ioperations[pos].work();
    }
}
